<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	xmlns:xs="http://www.w3.org/2001/XMLSchema"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	exclude-result-prefixes="xs xsi">

  <xsl:template match="PatientOtherDetails">
    <div class="boxed-section" id="{local-name()}">
      <h2>Other Patient Details</h2>

      <label>Occupation</label>
      <span><xsl:value-of select="Occupation"/></span>

      <br />

      <label>Marital Status</label>
      <span><xsl:value-of select="MaritalStatus"/></span>
    
    </div>
  </xsl:template>

</xsl:stylesheet>
